package com.example.handler;


import com.example.bean.User;
import com.example.common.annotation.Handler;
import com.example.common.annotation.HandlerMapping;
import com.example.common.scan.HandlerScanner;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Slf4j
@Handler
@Component
public class CommonHandler {


    @HandlerMapping(msgType = 0x0100, desc = "终端注册")
    public String processRegisterMsg(User user) {
        log.info("----终端注册-----");
        return "";
    }

}
